package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "emp")
public class Emp {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @TableField(value = "emp")
    private String emp;

    @TableField(value = "departmental")
    private String departmental;

    @TableField(value = "posts_name")
    private String postsName;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return emp
     */
    public String getEmp() {
        return emp;
    }

    /**
     * @param emp
     */
    public void setEmp(String emp) {
        this.emp = emp;
    }

    /**
     * @return departmental
     */
    public String getDepartmental() {
        return departmental;
    }

    /**
     * @param departmental
     */
    public void setDepartmental(String departmental) {
        this.departmental = departmental;
    }

    /**
     * @return posts_name
     */
    public String getPostsName() {
        return postsName;
    }

    /**
     * @param postsName
     */
    public void setPostsName(String postsName) {
        this.postsName = postsName;
    }
}